package com.example.richobject.recyc_Adaper;

import java.io.UnsupportedEncodingException;

/**
 * create by erica
 * on 2019/7/16
 */
public interface ItemViewDelegate<T>
{

    int getItemViewLayoutId();

    boolean isForViewType(T item, int position);

    void convert(RecyclerViewHolder holder, T t, int position) throws UnsupportedEncodingException;

}
